﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Spelprojekt.Model
{
    public class Enemy 
    {
        public Game m_game;

        public Vector2 m_position = new Vector2();        
        public Vector2 m_speed = new Vector2();
        public Vector2 m_size = new Vector2(1.30f, 1.7f);
        public static float m_size2 = 2;

        public float m_radius = m_size2 / 4;

        public bool m_collideGround = true;

        private EnemyState m_enemystate = EnemyState.Ground;
              
        public EnemyState State
        {
            get { return m_enemystate; }
            set { m_enemystate = value; }
        }        

        public enum EnemyState
        {
            Dead,
            Win,
            Ground,
            Air,
            Wall
        }       
        
        public Enemy()
        {           
        }

        public Enemy(Vector2 a_pos, Vector2 a_speed)
        {
            m_position = a_pos;
            m_speed = a_speed;
        }        
    }
}
